home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
wiconify
/
wiconcalls.lzh
/
wExample2
/
wExample2.doc
< prev
next >
Wrap
Text File
|
1991-04-19
|
818b
|
22 lines
OVERVIEW:
This example program demonstrates how to install and use an Icon with an
associated IconPort. It also lets you experiment with an icon to see what
messages arrive, and in what order.
NOTES:
wExample2 opens a window, then adds an icon with a message port. Most
message classes are requested, and when a wIconMessage arrives, the program
simply prints a messsage that indicates what class of IconMessage it is.
This lets you see what kinds of messaged can come from what kinds of
actions, and what order they arrive in.
Note for example, that messages concerning activation and inactivation of
wIconify backdrop windows only are sent to the icons on the window being
affected, not to all icons.
You can modify the program to print more information about the messages or
to include other message types.